﻿<Window x:Class="CoiffeurProject.Screens.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" 
        Height="1200" 
        Width="1920"
        WindowStyle="None"
        ResizeMode="NoResize"
        WindowState="Maximized"
        Background="#FF131313">

    <Window.Resources>
        <Style x:Key="NoChromeButton" TargetType="{x:Type Button}">
            <Setter Property="Background" Value="Transparent"/>
            <Setter Property="BorderThickness" Value="1"/>
            <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
            <Setter Property="VerticalContentAlignment" Value="Center"/>
            <Setter Property="Padding" Value="1"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Button}">
                        <Grid x:Name="Chrome" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
                            <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        </Grid>
                        <ControlTemplate.Triggers>
                            <Trigger Property="IsEnabled" Value="false">
                                <Setter Property="Foreground" Value="#ADADAD"/>
                                <Setter Property="Opacity" TargetName="Chrome" Value="0.5"/>
                            </Trigger>
                        </ControlTemplate.Triggers>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Resources>
    
    <Viewbox Stretch="Uniform">
        <Grid Height="1200" Width="1920" Margin="0" Name="main_container">
            
            <Grid.Background>
                <ImageBrush ImageSource="/CoiffeurProject;component/Images/Main/background.jpg" Stretch="Uniform"/>
            </Grid.Background >
            
            <Grid.RowDefinitions>
                <RowDefinition Height="142"/>
                <RowDefinition Height="390"/>
                <RowDefinition Height="70"/>
                <RowDefinition Height="485"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            
            <Label Content="" FontSize="90" HorizontalAlignment="Left" Margin="60,0,0,0" VerticalAlignment="Center" Name="mn_time" Foreground="White" />
            <Rectangle Height="66" HorizontalAlignment="Left" Margin="292,43,0,0" Name="rectangle1" Stroke="White" VerticalAlignment="Top" Width="2">
                <Rectangle.Fill>
                    <SolidColorBrush Color="White" />
                </Rectangle.Fill>
            </Rectangle>
            <Label Content="" FontSize="46" Height="76" HorizontalAlignment="Left" Margin="311,19,0,0" Name="mn_day" VerticalAlignment="Top" Foreground="White" />
            <Label Content="" FontSize="32" Height="50" HorizontalAlignment="Left" Margin="312,69,0,0" Name="mn_day_n" VerticalAlignment="Top" Width="47" Foreground="White" />
            <Label Content="" FontSize="32" Height="55" HorizontalAlignment="Left" Margin="354,69,0,0" Name="mn_month" VerticalAlignment="Top" Foreground="White" HorizontalContentAlignment="Left" Width="145" />
            

            <Button Grid.Row="4" Name="close_button" Width="72" Height="72" Margin="1754,0,60,0" Style="{DynamicResource NoChromeButton}" Click="OnOff_Button_Click" >
                <Image Name="close_button_icon" Source="/CoiffeurProject;component/Images/Main/on_off_button.PNG" Stretch="Fill" MouseDown="Button_MouseLeftButtonDown" />
            </Button>
            
            <Grid Width="1861" Height="Auto" Grid.Row="3" Name="agenda_pages_grid">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
            </Grid>

        </Grid>
    </Viewbox>
</Window>